#ifndef _ITEMS
#define _ITEMS

#include <stdlib.h>
#include <stdio.h>
#include <SDL/SDL.h>

typedef struct{
    char className[30];
    int damage;
}weapon;

typedef struct{
    char className[30];
    int cost,
        weight,
        ID; /* place dans BDD_Freight de game.c */
}freight;

typedef struct{
    char name[30];
}passenger;


void initWeapon(weapon* wp, char className[30], int damage);/*initialise les armes*/

void initFreight(freight* fght, char className[30], int cost, int weight, int ID);/*initialise le frêt*/


#endif
